package com.ruoyi.common.core.domain.e_checkingin;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 奖惩信息对象 e_rp_standard
 * 
 * @author JYW
 * @date 2024-01-30
 */
@Data
public class ERpStandard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 奖惩名称 */
    @Excel(name = "奖惩名称")
    private String rpName;

    /** 奖惩详情 */
    @Excel(name = "奖惩详情")
    private String rpText;

    /** 奖惩金额 */
    @Excel(name = "奖惩金额")
    private BigDecimal money;

    /** 序号 */
    @Excel(name = "序号")
    private Long sortNumber;

    /** 是否自动化*/
    private Integer isAuto;

    /** 触发条件*/
    private String timeScope;

    /** 奖惩标识（0：惩罚，1：奖励） */
    @Excel(name = "奖惩标识", readConverterExp = "0=：惩罚，1：奖励")
    private Long rpType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRpName(String rpName) 
    {
        this.rpName = rpName;
    }

    public String getRpName() 
    {
        return rpName;
    }
    public void setRpText(String rpText) 
    {
        this.rpText = rpText;
    }

    public String getRpText() 
    {
        return rpText;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setSortNumber(Long sortNumber) 
    {
        this.sortNumber = sortNumber;
    }

    public Long getSortNumber() 
    {
        return sortNumber;
    }
    public void setRpType(Long rpType) 
    {
        this.rpType = rpType;
    }

    public Long getRpType() 
    {
        return rpType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("rpName", getRpName())
            .append("rpText", getRpText())
            .append("money", getMoney())
            .append("sortNumber", getSortNumber())
            .append("rpType", getRpType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
